package com.yml.mall.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName OrderItemVO
 * @Author Administrator
 * @Date 2020/4/15   17:00
 */
@Data
@Accessors(chain = true)
@ApiModel("订单项返回")
public class OrderItemVO {
    @ApiModelProperty("订单号")
    private Long orderNo;

    @ApiModelProperty("商品ID")
    private Integer productId;

    @ApiModelProperty("商品名字")
    private String productName;

    @ApiModelProperty("商品图片")
    private String productImage;

    @ApiModelProperty("当前单价")
    private BigDecimal currentUnitPrice;

    @ApiModelProperty("数量")
    private Integer quantity;

    @ApiModelProperty("总价")
    private BigDecimal totalPrice;

    @ApiModelProperty("创建时间")
    private Date createTime;
}
